package com.wisdytech.linkdcs.equipLifeCycle.malfunction.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dailibo
 * @since 2018-06-11
 */
@TableName("TT_EQ_M_ATTACHMENT")
public class MAttachment extends Model<MAttachment> {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private String pkId;
    @TableField("M_RECORD_ID")
    private String recordId;
    @TableField("ATTACHMENT_NAME")
    private String attachmentName;
    @TableField("ATTACHMENT_PATH")
    private String attachmentPath;

    
	public String getRecordId() {
		return recordId;
	}

	public void setRecordId(String recordId) {
		this.recordId = recordId;
	}

	public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    

    public String getAttachmentName() {
        return attachmentName;
    }

    public void setAttachmentName(String attachmentName) {
        this.attachmentName = attachmentName;
    }

    public String getAttachmentPath() {
        return attachmentPath;
    }

    public void setAttachmentPath(String attachmentPath) {
        this.attachmentPath = attachmentPath;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "MAttachment{" +
        ", pkId=" + pkId +
        ", attachmentName=" + attachmentName +
        ", attachmentPath=" + attachmentPath +
        "}";
    }
}
